package com.yoshino.adapter.classadapter;

/**
 * 适配器类
 * @author yoshino
 **/
public class VoltageAdapter extends Voltage220V implements IVoltage5V{
    @Override
    public int output5V() {
        // 获取到 220V 电压
        int srcV = this.output220v();
        int dst = srcV / 44;
        return dst;
    }
}
